 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<p><b>Canteen</b></p>
<div class="intro">
<ul>
	<li>listen to the creativity of your peers;</li>
	<li>comment and rate their creativity;</li>
	<li>read what others have to say about your contributions and
	respond accordingly.</li>
</ul>
</div>

<c:forEach  var="set" items="${sets}">
		<div class="set">
			<p><span class="bold">${set.name}</span> by <span class="bold">${set.owner.username}</span></p>
			
			<div id="set${set.name}${set.owner.username}">
				<button class="submit" onclick="showSlots('${set.name}','${set.owner.username}','set${set.name}${set.owner.username}','${sessionScope["userName"]}')">Show Slots</button>
			</div>
		</div>
	</c:forEach>
			
			<p>
				<c:forEach var="index" items="${indices}">
					<a href="Community.do?changeCounter=${index}">${index}</a>&nbsp;&#124;
				</c:forEach>
			</p>